Einhugur RawBitmap Objo plugin.

Einhugur.RawBitmap.Pixel Method

Sets the color of a pixel in the RawBitmap.

Pixel(
   x as Integer,
   y as Integer,
   assigns value as Colour)

Parameters

x
The x-coordinate of the pixel.
y
The y-coordinate of the pixel.
value (assign parameter)
The color to set the pixel to.

Remarks

Note that x and y are not bounds checked for performance reasons so if you go out of bounds then you will get a crash.

Note even if this class has the a few drawing methods then it is not a Graphics context and never will be. The few drawing commands are more of to help make debugging easier.

When used with color space CMYK then the fill color is no longer RGB but CMYK, and is passed in like &cFFFFFFFF, where first 2 hex letters are C, 2nd 2 are M, next pair is Y and last pair is Key.

This method does nothing on 16bit per channel bitmaps.

See Also

Einhugur.RawBitmap Class